<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix='c' uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>가입폼</title>

<script type="text/javascript" src="/${initParam.context_root }/script/script.js"></script>

</head>
<body>
<jsp:include page="/WEB-INF/view/menu.jsp"/>

<h2>가입양식</h2>
<form method="post" action="/${initParam.context_root }/member/join.do" 
onsubmit="return formCheck(this);"><!-- submit이 발생하면 실행 -->

	<table width='500'>
		<tr>
			<td>ID</td>
			<td>
				<input type="text" name="id">
			</td>
		</tr>
		<tr>
			<td>Password</td>
			<td>
				<input type="password" name="password">
			</td>
		</tr>
		<tr>
			<td>이름</td>
			<td>
				<input type="text" name="name">
			</td>
		</tr>
		<tr>
			<td>이메일</td>
			<td>
				<input type="text" name="email">
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="가입">
				<input type="reset" value="다시작성">
			</td>
		</tr>
	</table>
</form>
</body>
</html>